package com.oriental.manage.service.specially;

import com.oriental.manage.core.paging.Pagination;
import com.oriental.manage.core.response.ResponseDTO;
import com.oriental.manage.model.specially.EnterpriseMchntBaseInfo;
import org.omg.CORBA.portable.ApplicationException;

import java.util.List;

/**
 * Created by jinxin on 2017/4/21.
 */
public interface EnterpriseMchntBaseInfoService {

    void search(EnterpriseMchntBaseInfo enterpriseMchntBaseInfo, Pagination<EnterpriseMchntBaseInfo> pagination);

    EnterpriseMchntBaseInfo initMchntBaseInfo(EnterpriseMchntBaseInfo enterpriseMchntBaseInfo);

    void insertEnterpriseMchntBaseInfo(EnterpriseMchntBaseInfo enterpriseMchntBaseInfo, ResponseDTO<String> responseDTO) throws ApplicationException;

    List<EnterpriseMchntBaseInfo> searchForCusCode(EnterpriseMchntBaseInfo enterpriseMchntBaseInfo);
}
